<?php
/**
 * User: zhaoguofeng
 * Date: 2022/1/27
 * Time: 9:52
 */

namespace app\factoryMethod;

class MacButton implements Button
{

    public function onclick()
    {
        echo "this is mac onclick";
    }

    public function render()
    {
        echo "this is mac render";
    }
}